package com.link.base.base.invloc.dao.mybatis.mapper;

import com.link.base.base.invloc.model.InvImp;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.model.CallParam;

/**
 * @author: unknown
 * created: unknown
 * comments: 产品库存
 */
public interface InvImpMapper extends BasicMapper<InvImp> {

    /**
     * 检验客户和产品
     * @param record
     * @return
     * @throws Exception
     */
    public void runInvImpCheck(CallParam record) throws Exception;

    /**
     * 插入到库存交易
     * @param record
     * @return
     * @throws Exception
     */
    public void runNewInvTxnForimp(CallParam record) throws Exception;
}
